package com.qiwx.pigeon.fragment.produce;

import android.content.Intent;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

import com.qiwx.pigeon.Utils.DBSqlUtil;
import com.qiwx.pigeon.Utils.DateTimeUtils;
import com.qiwx.pigeon.Utils.MyToast;
import com.qiwx.pigeon.activity.common.SelectDateActivity;
import com.qiwx.pigeon.base.BaseMVPFragment;
import com.qiwx.pigeon.base.Constant;
import com.qiwx.pigeon.data.vo.CageStatusRecordBean;
import com.qiwx.pigeon.data.vo.FertilizeBean;
import com.qiwx.pigeon.data.vo.WareHouseBean;
import com.qiwx.pigeon.data.vo.pageinfo.PageInfo;
import com.qiwx.pigeon.presenter.OperatePresenter;
import com.qiwx.pigeon.viewinterface.IOperateView;

import java.lang.ref.WeakReference;
import java.util.ArrayList;
import java.util.List;

import static com.qiwx.pigeon.activity.common.SelectDateActivity.REQUEST_CODE_END;
import static com.qiwx.pigeon.activity.common.SelectDateActivity.REQUEST_CODE_START;

/**
 * @description
 * @Author qiwx
 * @Date 2020-04-26 10:20
 **/
public  class OpreateFragment extends BaseMVPFragment<IOperateView, OperatePresenter> implements  IOperateView {
    List<WareHouseBean> data = new ArrayList<>();

    @Nullable
    @Override
    public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        return super.onCreateView(inflater, container, savedInstanceState);
    }

    @Override
    public void initAfterOnCreate() {
        super.initAfterOnCreate();
    }

    @Override
    public OperatePresenter createPresenter() {
        return new OperatePresenter(new WeakReference<>(this));
    }

    @Override
    public void onCheckEggSuccess(PageInfo<FertilizeBean> list) {

    }

    @Override
    public void onQueryCateStatusRecordSuccess(List<CageStatusRecordBean> list) {

    }

    @Override
    public void onSaveLayEggSuccess(int c_id) {

    }

    @Override
    public void onAddOperate(int type) {

    }

    @Override
    public void onFailed(String error) {

    }
}
